export default function HeadRouter(test = "/", data, that) {
    // console.log(test, data);
    // const that = this;
    switch (test) {
        case "/accumulated":
            return that.$router.push({ path: '/accumulated' })
        case "/bill":
            return that.$router.push({ path: "/bill" })
        case "/bonds":
            return that.$router.push({ path: "/bonds" })
        case "/calendar":
            return that.$router.push({ path: "/calendar" })
        case "/financing":
            return that.$router.push({ path: "/financing" })
        case "/fuarantee":
            return that.$router.push({ path: "/fuarantee" })
        case "/loans":
            return that.$router.push({ path: "/loans" })
        case "/putin":
            return that.$router.push({ path: "/putin" })
        case "/molecular":
            return that.$router.push({ path: '/molecular' })
        case "/interior":
            return that.$router.push({ path: '/interior' })
    }
}
